<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv=Content-Type content="text/html;charset=utf-8" />
        <title>{$settings.shopname}</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no">
        <link href="{$docroot}static/css/wshop_main_style.css?v={$cssversion}" type="text/css" rel="Stylesheet" />
        <script type="text/javascript" src="{$docroot}static/script/jquery-2.1.1.min.js"></script>
        <script type="text/javascript" src="{$docroot}static/script/main.js?v={$cssversion}"></script>
    </head>
    <body>

        {include file="../global/search_box1.tpl"}

        <header class="index-header">
            <div style="background: #fff;">
                <img src="/static/images/logo2.jpg" style="max-width: 80%;display: block;margin:0 auto;" />
            </div>
{*            <div id="slider">
                <div class="sliderTip">
                    <i class="sliderTipItems current"></i>
                    <i class="sliderTipItems "></i>
                </div>
                {strip}
                    <div class="slider" onclick="location = '{$docroot}?/vProduct/view_list/cat=1&searchkey=欧莲娜';" 
                         style="background-image:url('static/images/slider/547296c5N6525cf2a.jpg');"></div>
                    <div class="slider" onclick="location = '{$docroot}?/vProduct/view_list/cat=1&searchkey=欧莲娜';" 
                         style="background-image:url('static/images/slider/5474296eN70b1d952.jpg');"></div>
                {/strip}
            </div>*}
        </header>

        <!-- subcat -->
        <div class="subcat_wrapp clearfix bottom20">
            {foreach from=$catList item=sc}
                <a class="subcat_item"
                   data-href="{$docroot}?/vProduct/view_category/cat={$sc.cat_id}">
                    <img src='{$docroot}{$sc.cat_image}' />
                    <span style='display:block;'>{$sc.cat_name}</span>
                </a>
            {/foreach}
        </div>
        <!-- subcat -->

        <!-- serials -->
        <div class="product_serials_warp">
            {foreach from=$serials item=serial}
                <a href='javascript:;' data-href="{$docroot}?/vProduct/view_list/serial={$serial.id}">
                    <img src="{$docroot}static/images_serial/{$serial.serial_image}" alt="{$serial.serial_name}" />
                    <span>{$serial.serial_name}</span>
                </a>
            {/foreach}
        </div>
        <!-- serials -->

        <script type="text/javascript">
            WeixinJSBridgeReady(homeOnload);
        </script>
        {include file="../global/footer.tpl"}
    </body>
</html>